import Vuex from 'vuex'
import Vue from 'vue'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
        hr: JSON.parse(sessionStorage.getItem('current_hr'))
    },
    mutations: {
        chage_hr (state,hr) {
            state.hr = hr
        }
    }
})
export default store